<div class="dawn-header">
    <div class="dawn-breadcrumb">
		 <span class="layui-breadcrumb">
            <a href="javascript:;">系统管理</a>
            <a><cite>系统配置</cite></a>
         </span>
    </div>
</div>
<div class="dawn-content">
    <div class="layui-row layui-form layui-form-pane">
        <div class="layui-inline">
            <label class="layui-form-label">配置搜索</label>
            <div class="layui-inline">
                <input class="layui-input" autocomplete="off" id="searchKey"
                       placeholder="搜索配置名称/编码" autocomplete="off">
            </div>
        </div>
        <div class="layui-inline" style="margin-left: 10px;">
            <button class="layui-btn" id="search"><i class="fa fa-search"></i> 搜索</button>
            <button class="layui-btn" id="reset"><i class="fa fa-trash"></i> 重置</button>
        </div>
    </div>
    <div class="layui-row dawn-table">
        <!-- 表格  -->
        <table id="table" lay-filter="table">
        </table>
    </div>
</div>

<!-- 工具条 -->
<script type="text/html" id="tableToolBar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" lay-event="add">添加
        </button>
    </div>
</script>
<!-- 表格内按钮 -->
<script type="text/html" id="tableTool">
    <a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete">删除</a>
</script>
<script id="info" type="text/html">
    <div class="layui-form layui-form-pane dawn-form" lay-filter="info">
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label dawn-form-label">配置名称</label>
            <div class="layui-input-block">
                <input name="name" lay-verify="required" autocomplete="off"
                       placeholder="请输入配置名称" class="layui-input"
                       type="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label dawn-form-label">配置编码</label>
            <div class="layui-input-block">
                <input name="code" lay-verify="required" autocomplete="off"
                       class="layui-input"
                       type="text">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label dawn-form-label">配置内容</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" lay-verify="required" name="value"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="save">保存</button>
        </div>
    </div>
</script>
<script src="${ctxPath}/modular/system/config/config.js?v=${app.version}"></script>